package edu.nf.ch04;

import edu.nf.ch04.entity.User;
import edu.nf.ch04.service.UserService;

/**
 * @author CSY
 * @date 2025 - 04 - 23
 */
public class Main {
    public static void main(String[] args) {
        UserService service = new UserService();/*
        User u = service.getUserById(1);
        System.out.println(u.getName());*/

        User user = service.getUser(1, "userA");
        System.out.println(user.getName());
    }
}
